//This .h file contains the declarations of the main structures and variables of the vfs binary file and also their global objects
#define blocksize 1024//2048// 1 kilobytes
#define filename_size 50
#define locationpath_size 200
#define filetype_size 5
char mountstate[40];


struct MainHeader
{
    char file_sys_label[40];
    int MAX_FILE_DESCRIPTORS;
    int used_file_descriptors;

} header;

char *freelist;



struct FileDescriptor
{
    char filename[filename_size];
    char locationfullpath[locationpath_size];
    char filetype[filetype_size];
    int filesize;
    int locationblocknumber;

};
struct FileDescriptor *file_descriptors;

struct Block
{
    char block[blocksize];
};

